package com.example.atomikos.entity;


import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author Daniel
 * @Description 订单实体
 * @Date 2019/1/17 13:42
 **/
@Table(name="t_order")
@Data
public class Order{
    @Id
    //订单编号
    private String orderId;
    //订单名称
    private String orderName;
    //租户编号
    private String tenantId;
    //分片KEY
    private Long shardKey;
}